package com.google.code.menino_de_barro.dao;

import java.util.ArrayList;

import com.google.code.menino_de_barro.model.Login;
import com.google.code.menino_de_barro.model.Produto;
import com.google.code.menino_de_barro.model.util.CampoNuloouInvalidoException;
import com.google.code.menino_de_barro.model.util.LoginJaCadastradoException;


public interface InterfaceDAOLogin {
	
	public abstract void teste();

	public abstract void incluir(Login l) throws CampoNuloouInvalidoException, LoginJaCadastradoException;

	public abstract void excluir(Login l) throws CampoNuloouInvalidoException;

	public abstract void alterar(Login l) throws CampoNuloouInvalidoException;

	public abstract ArrayList<Login> listar();

	public abstract Login buscarLogin(String usuario) throws CampoNuloouInvalidoException;
	
	public boolean logarSistema(String usuario, String senha) throws CampoNuloouInvalidoException;
	
	public abstract void instalar(boolean samples);

}
